package com.yuyou.tas.report.vo.req;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * @author 
 */
public class ExamModelWordReq implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空")
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 分数区间
     */
    @NotEmpty(message = "分数区间至少要有一个")
    List<ExamModelWordPassReq> list ;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ExamModelWordPassReq> getList() {
        return list;
    }

    public void setList(List<ExamModelWordPassReq> list) {
        this.list = list;
    }
}